LeetCode 46 Permutations Java